Skip to content

Limit Alt-R to Emacs mode#1340

Merged
rolandwalker merged 1 commit into
mainfrom
RW/limit-control-r-emacs-mode
Sep 6, 2025
Merged

Limit Alt-R to Emacs mode#1340
rolandwalker merged 1 commit into
mainfrom
RW/limit-control-r-emacs-mode

Conversation

@rolandwalker

@rolandwalker rolandwalker commented Aug 30, 2025

Copy link
Copy Markdown
Contributor

Description

Since Alt-R is implemented as the sequence Esc R, and since vi mode has other uses for Esc, limit the Alt-R binding to Emacs mode.

Testing shows that Control-R is available in vi bindings, whether or not that is a good thing, so it is left unmodified.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format to lint and format the code.

@rolandwalker rolandwalker self-assigned this Aug 30, 2025
Since Alt-R is implemented as the sequence Esc R, and since vi mode has
other uses for Esc, limit the Alt-R binding to Emacs mode.

Testing shows that Control-R is available in vi bindings, whether or
not that is a good thing, so it is left unmodified.
@rolandwalker rolandwalker force-pushed the RW/limit-control-r-emacs-mode branch from 63d5c08 to 8a66a91 Compare September 6, 2025 19:23
@rolandwalker rolandwalker changed the title Limit control-R to Emacs mode Limit Alt-R to Emacs mode Sep 6, 2025
@rolandwalker rolandwalker merged commit 06c3cf4 into main Sep 6, 2025
8 checks passed
@rolandwalker rolandwalker deleted the RW/limit-control-r-emacs-mode branch January 21, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant